package com.itheima.dao;

import com.itheima.pojo.Account;

import java.sql.SQLException;
import java.util.List;

public interface AccountDao {

    void add(Account account) throws SQLException;

    void delete(int id) throws SQLException;

    void update(Account account) throws SQLException;

    List<Account> findAll() throws SQLException;
}
